package com.barneyx.mshinfoplatform.service.admin.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.barneyx.mshinfoplatform.entity.admin.AdminUserRoleMapEntity;
import com.barneyx.mshinfoplatform.mapper.admin.IAdminUserRoleMapEntityMapper;
import com.barneyx.mshinfoplatform.service.admin.IAdminUserRoleMapEntityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminUserRoleMapEntityServiceImpl extends ServiceImpl<IAdminUserRoleMapEntityMapper, AdminUserRoleMapEntity> implements IAdminUserRoleMapEntityService {
    @Resource
    private IAdminUserRoleMapEntityMapper adminUserRoleMapEntityMapper;

    @Override
    public long deleteMapInfoByAdminUserId(String userId) {
        return adminUserRoleMapEntityMapper.deleteMapInfoByAdminUserId(userId);
    }
}
